<style>
    .tab-content > .chart {
        padding: 10px;
    }
</style>

<!-- /.row -->
<!-- Main row -->
<div class="row" style="margin-bottom:5px;">
    <!-- Left col -->
    <section class="col-lg-12 connectedSortable">
        <!-- Custom tabs (Charts with tabs)-->
        <div class="nav-tabs-custom charts-custom" style="padding-top:20px">
            <form id="login-form2" method="post" action="example/echarts/line">
           
                <div class="col-lg-2">
                    <div class="form-group">
                    <select class="admin form-control"  name="schoolname">
                        <option value="" disabled selected >请选择学校</option>
                  
                         {volist name="typeList" id="vo"}
                        <option value="{$vo.schoolname}">{$vo.schoolname}</option>
                        {/volist}
                    
                    </select>
                    </div>
                </div>
                <div class="col-lg-1">
                  
                    <div class="form-group">
                 
                        <input  class="form-control"  placeholder="请输入年份" name="year">
                      </div>
                     
                  
                </div>
               
                <div class="col-lg-1">
                  
                    <div class="form-group">
                 
                        <input  class="form-control"  placeholder="请输入年级" name="grade">
                      </div>
                     
                  
                </div>
                <div class="col-lg-1">
                    <div class="form-group">
                 
                        <input  class="form-control"  placeholder="请输入班级" name="classd" >
                      </div>
                </div>
               
        
                <button type="submit" class="btn btn-default">查询</button>
            </form>
     
            <!-- Tabs within a box -->
            <ul class="nav nav-tabs pull-right">
                <li class="active"><a href="#line-chart" data-toggle="tab">视力图</a></li>
                <!-- <li><a href="#area-chart" data-toggle="tab">带镜视力图</a></li>
                <li class="pull-left header"><i class="fa fa-inbox"></i> 视力趋势</li> -->
            </ul>
            <div class="tab-content no-padding">
                <!-- Morris chart - Sales -->
                <div class="chart tab-pane active" id="line-chart" style="position: relative; height: 300px;"></div>
                <div class="chart tab-pane" id="area-chart" style="position: relative; height: 300px;"></div>
            </div>
        </div>
        
      
        <div class="nav-tabs-custom charts-custom">
            <div style="padding-top: 20px;">
            <form id="login-form1" method="post">
                {:token()}
                <div class="col-lg-2">
                    <div class="form-group">
                    <select class="admin form-control"  name="schoolname">
                        <option value="" disabled selected >请选择学校</option>
                  
                         {volist name="typeList" id="vo"}
                        <option value="{$vo.schoolname}">{$vo.schoolname}</option>
                        {/volist}
                    
                    </select>
                    </div>
                </div>
                <div class="col-lg-1">
                  
                    <div class="form-group">
                 
                        <input  class="form-control"  placeholder="请输入年份" name="year">
                      </div>
                     
                  
                </div>
                <div class="col-lg-1">
                  
                    <div class="form-group">
                 
                        <input  class="form-control"  placeholder="请输入月份" name="month">
                      </div>
                     
                  
                </div>
                <div class="col-lg-1">
                  
                    <div class="form-group">
                 
                        <input  class="form-control"  placeholder="请输入年级" name="grade">
                      </div>
                     
                  
                </div>
                <div class="col-lg-1">
                    <div class="form-group">
                 
                        <input  class="form-control"  placeholder="请输入班级" name="classd" >
                      </div>
                </div>
                <div class="col-lg-2">
                    <select class="admin form-control"  name="left">
                        <option value="" disabled selected >请选择视力</option>
                        <option value="4.0">4.0</option>
                        <option value="4.1">4.1</option>
                        <option value="4.2">4.2</option>
                        <option value="4.3">4.3</option>
                        <option value="4.4">4.4</option>
                        <option value="4.5">4.5</option>
                        <option value="4.6">4.6</option>
                        <option value="4.7">4.7</option>
                        <option value="4.8">4.8</option>
                        <option value="4.9">4.9</option>
                        <option value="5.0">5.0</option>
                        <option value="5.1">5.1</option>
                        <option value="5.2">5.2</option>
                        <option value="5.3">5.3</option>
                    </select>
                </div>
        
                <button type="submit" class="btn btn-default">查询</button>
            </form>
     
            
            </div>
           
            <!-- Tabs within a box -->
            <ul class="nav nav-tabs pull-right">
                <li class="active"><a href="#pie-chart" data-toggle="tab">视力</a></li>
                <!-- <li><a href="#bar-chart" data-toggle="tab">裸眼</a></li> -->
                <!-- <li class="pull-left header"><i class="fa fa-inbox"></i> 访问记录</li> -->
            </ul>
            <div class="tab-content no-padding">
                <!-- Morris chart - Sales -->
                <div class="chart tab-pane active" id="pie-chart" style="position: relative; height: 300px;"></div>
                <!-- <div class="chart tab-pane" id="bar-chart" style="position: relative; height: 300px;"></div> -->
            </div>
        </div>
        <!-- /.nav-tabs-custom -->

    </section>
    <!-- /.Left col -->
    <section class="col-lg-5 connectedSortable" style="display: none;">

        <!-- Map box -->
        <div class="box box-solid bg-light-blue-gradient">
            <div class="box-header">
                <!-- tools box -->
                <div class="pull-right box-tools">
                </div>
                <!-- /. tools -->

                <i class="fa fa-map-marker"></i>

                <h3 class="box-title">
                    访客分布
                </h3>
            </div>
            <div class="box-body">
                <div id="simplebar-chart" style="height: 250px; width: 100%;"></div>
            </div>
            <!-- /.box-body-->
            <div class="box-footer no-border">
                <div class="row">
                    <div class="col-xs-12 text-center">
                        <div class="knob-label">统计最近一周访客的记录</div>
                    </div>
                    <!-- ./col -->
                </div>
                <!-- /.row -->
            </div>
        </div>
        <!-- /.box -->

        <!-- solid sales graph -->
        <div class="box box-solid bg-teal-gradient">
            <div class="box-header">
                <i class="fa fa-th"></i>

                <h3 class="box-title">订单趋势</h3>

                <div class="box-tools pull-right">
                </div>
            </div>
            <div class="box-body border-radius-none">
                <div class="chart" id="smoothline-chart" style="height: 250px;"></div>
            </div>
            <!-- /.box-body-->
            <div class="box-footer no-border">
                <div class="row">
                    <div class="col-xs-12 text-center">
                        <div class="knob-label">统计最近一周订单的趋势</div>
                    </div>
                    <!-- ./col -->
                </div>
                <!-- /.row -->
            </div>
        </div>
        <!-- /.box -->

    </section>
    <!-- right col -->
</div>
<!-- /.row (main row) -->
